/**
 * 
 */
package de.global42.clubapp.util;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @author lutz
 *
 */
public class QueryParamMap extends HashMap<String, String> implements Map<String, String>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8383636059646989967L;

	public Long getLong(String key) {
		return Long.parseLong(get(key));
	}

	public Date getDateFromTimeStamp(String key) {
		return new Date(getLong(key));
	}

}
